Skip to content

fix: update agent samples to use "agents" key in uipath.json (v2.10.0)#1388

Open
mjnovice wants to merge 2 commits intomainfrom
fix/samples-agent-entrypoints-v2.10.0
Open

fix: update agent samples to use "agents" key in uipath.json (v2.10.0)#1388
mjnovice wants to merge 2 commits intomainfrom
fix/samples-agent-entrypoints-v2.10.0

Conversation

@mjnovice
Copy link
Contributor

Summary

  • v2.10.0 introduced coded functions support (feat: coded functions #1254), which changed the "functions" key in uipath.json to generate type="function" schemas instead of type="agent"
  • Agent samples were still using "functions", causing them to be registered as functions rather than agents
  • Updated 6 agent samples to use the new "agents" key to correctly generate type="agent" schemas

Samples updated:

  • asset-modifier-agent
  • document-understanding-agent
  • list-mcp-agent
  • llm_chat_agent
  • multi-output-agent
  • weather_tools

Samples left unchanged (pure functions, correctly using "functions" key):
calculator, csv-processor, event-trigger, hello-world, pizza-order-function, queue-interactions, resource-overrides, tree-recursive-function

Test plan

  • Verify each updated sample can be discovered via uipath run <entrypoint>
  • Verify schema generation returns type="agent" for the updated samples
  • Verify the remaining function samples still return type="function"

🤖 Generated with Claude Code

mjnovice and others added 2 commits February 27, 2026 00:13
v2.10.0 introduced coded functions, changing the "functions" key to
generate type="function" schemas. Agent samples must now use the new
"agents" key to preserve type="agent" schema behavior.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants